package cn.zero.fegin;


import cn.zero.domain.MovieTicket;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "movie-server",fallbackFactory = MovieFeginFallbackFactory.class)
public interface MovieFegin {


    @GetMapping("/getMovie/{id}")
   MovieTicket getMovie(@PathVariable("id") Long id);

}
